package com.qfedu.tantu.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import com.qfedu.tantu.entity.Attractions;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author WangLe
 * @Date 2022/7/1 19:15
 */
public interface TileDao extends BaseMapper<Attractions> {

    /**
     * 通过价格降序排列 城市
     * @param
     * @return
     */
    @Select("select name, imgurl from t_attractions order by price desc")
    List<Attractions> sort();


}
